package com.cp.helper.dao.impl;

import com.cp.helper.bean.Remind;
import com.cp.helper.dao.BaseDaoSupport;
import org.springframework.stereotype.Repository;

/**
 * @描述:自动生成的Remind
 * @Author : chenpeng
 * @Date : 2015-10-22 20:58:13
 */
@Repository
public class RemindDao extends BaseDaoSupport<Remind> {
    public RemindDao() {
        super.setClassName("Remind");
    }

    //根据主键更新特定值
    public Integer updateOwnerIdById(Remind remind) {
        return this.getSqlMapClientTemplate().update("Remind.updateOwnerIdById", remind);
    }

    public Integer updateRemindTitleById(Remind remind) {
        return this.getSqlMapClientTemplate().update("Remind.updateRemindTitleById", remind);
    }

    public Integer updateRemindDateById(Remind remind) {
        return this.getSqlMapClientTemplate().update("Remind.updateRemindDateById", remind);
    }

    public Integer updateStatusFlagById(Remind remind) {
        return this.getSqlMapClientTemplate().update("Remind.updateStatusFlagById", remind);
    }


}
